package com.three.lab.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class FollowBean implements Parcelable {

    private int id;
    private String name;
    private String location;
    private String intro;
    private String produceUrl;

    public FollowBean() {
    }

    public FollowBean(int id, String name, String location, String intro, String produceUrl) {
        this.id = id;
        this.name = name;
        this.location = location;
        this.intro = intro;
        this.produceUrl = produceUrl;
    }

    protected FollowBean(Parcel in) {
        id = in.readInt();
        name = in.readString();
        location = in.readString();
        intro = in.readString();
        produceUrl = in.readString();
    }

    public static final Creator<FollowBean> CREATOR = new Creator<FollowBean>() {
        @Override
        public FollowBean createFromParcel(Parcel in) {
            return new FollowBean(in);
        }

        @Override
        public FollowBean[] newArray(int size) {
            return new FollowBean[size];
        }
    };

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getProduceUrl() {
        return produceUrl;
    }

    public void setProduceUrl(String produceUrl) {
        this.produceUrl = produceUrl;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeString(name);
        dest.writeString(location);
        dest.writeString(intro);
        dest.writeString(produceUrl);
    }
}
